package com.rtx.edi.model.api.dto;

import java.util.List;
import java.util.Map;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 对接场景表
 * </p>
 *
 * @author cafebabe
 * @since 2023-03-18
 */
@ApiModel(value = "PlApiMapping对象", description = "对接场景表")
public class PlApiMappingConfigDTO{
	
    @ApiModelProperty(value = "页面编号")
    private Integer pageNum = 1;

    @ApiModelProperty(value = "页面大小")
    private Integer pageSize = 20;

    @ApiModelProperty(value = "页面大小")
	private Long id;
    
    @ApiModelProperty(value = "公司ID")
    private Long companyId;

    @ApiModelProperty(value = "映射场景id")
    private Long apiMappingId;
    @ApiModelProperty(value = "查询sql")
    private String querySql;
    @ApiModelProperty(value = "查询条件")
    private String queryColumn;
    @ApiModelProperty(value = "查询结果名称")
    private String queryResultName;
    @ApiModelProperty(value = "查询名称")
    private String queryName;
    @ApiModelProperty(value = "查询结果主要字段")
    private String queryColumnMainValue;
    @ApiModelProperty(value = "查询条件字段的源报文根节点")
    private String queryRoot;
    @ApiModelProperty(value = "仓库编码确定sql true和false")
    private String whsequeryflag;
    
    @ApiModelProperty(value = "执行顺序")
    private String sequence;
    @ApiModelProperty(value = "校验规则[{\"column\":\"校验字段\",\"condition\":\"校验条件 exists noexists lt gt ge le\",\"value\":\"判断条件值\",\"msg\":\"校验不通过错误信息\"}]")
    private String checkRule;
    private String rowCheckRule;
    
    
	public String getRowCheckRule() {
		return rowCheckRule;
	}
	public void setRowCheckRule(String rowCheckRule) {
		this.rowCheckRule = rowCheckRule;
	}
	public String getCheckRule() {
		return checkRule;
	}
	public void setCheckRule(String checkRule) {
		this.checkRule = checkRule;
	}
	public String getSequence() {
		return sequence;
	}
	public void setSequence(String sequence) {
		this.sequence = sequence;
	}
	public String getWhsequeryflag() {
		return whsequeryflag;
	}
	public void setWhsequeryflag(String whsequeryflag) {
		this.whsequeryflag = whsequeryflag;
	}
	public String getQueryRoot() {
		return queryRoot;
	}
	public void setQueryRoot(String queryRoot) {
		this.queryRoot = queryRoot;
	}
	public String getQueryColumnMainValue() {
		return queryColumnMainValue;
	}
	public void setQueryColumnMainValue(String queryColumnMainValue) {
		this.queryColumnMainValue = queryColumnMainValue;
	}
	public Integer getPageNum() {
		return pageNum;
	}
	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getCompanyId() {
		return companyId;
	}
	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}
	public Long getApiMappingId() {
		return apiMappingId;
	}
	public void setApiMappingId(Long apiMappingId) {
		this.apiMappingId = apiMappingId;
	}
	public String getQuerySql() {
		return querySql;
	}
	public void setQuerySql(String querySql) {
		this.querySql = querySql;
	}
	public String getQueryResultName() {
		return queryResultName;
	}
	public void setQueryResultName(String queryResultName) {
		this.queryResultName = queryResultName;
	}
	public String getQueryName() {
		return queryName;
	}
	public void setQueryName(String queryName) {
		this.queryName = queryName;
	}
	public String getQueryColumn() {
		return queryColumn;
	}
	public void setQueryColumn(String queryColumn) {
		this.queryColumn = queryColumn;
	}
	
}

